package com.rf.richfitwheel.outbill.service;

import com.rf.richfitwheel.admin.sys.vo.UserVO;
import com.rf.richfitwheel.outbill.model.ReceiptBillInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rf.richfitwheel.outbill.param.ReceiptBillInfoParam;
import com.rf.richfitwheel.utils.PageJson;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lihong
 * @since 2024-06-19
 */
public interface ReceiptBillInfoService extends IService<ReceiptBillInfo> {

    PageJson pageJson(ReceiptBillInfoParam receiptBillInfo);

    boolean addFlow(Map<String, Object> params);

    void updateReceiptBill(String id, String status, String processInstanceId);

    boolean modifyFlow(Map<String, Object> params, UserVO user);

    boolean backFlow(Map<String, Object> params);

    void backAcceptBill(String id, String status, String processInstanceId);

    boolean backModifyFlow(Map<String, Object> params, UserVO user);
}
